package com.itheima.grammar.operator;

/**
 * @author Anomaly
 * @date 2022/11/28 20:32
 */

/**
 * 自增自减
 */
public class OperatorDemo2 {
    public static void main(String[] args) {
        int a, b, c, d;
        a = b = 5;
        c = ++a;
        d = b++;
        System.out.println("c = " + c);
        System.out.println("d = " + d);
    }
}
